#ifndef SETTINGSMENU_H
#define SETTINGSMENU_H

#include <QDialog>
#include "ui_SettingsMenu.h"

class SettingsMenu : public QDialog
{
	Q_OBJECT

public:
	enum EffectCutType
	{
		EffectCutSide,
		EffectCutCenter,
		EffectCutNone,
	};
public:
	SettingsMenu(QWidget *parent = 0);
	~SettingsMenu();

private:
	Ui::SettingsMenu ui;
	QButtonGroup *pButtonGroup;
public:
	void showEvent ( QShowEvent * event );
	void	closeEvent ( QCloseEvent * event );
	//void changeEvent ( QEvent * event );
	//void enterEvent ( QActionEvent * event );
	public slots:
		void changeEcho( bool checked );
		void changeChannelMix( bool checked );
		void changeEqualizer( bool checked );
		void changeReverse( bool checked );
		void changeCut( QAbstractButton * button );
		void changePitch( int value );
		void changeTemp( int value );
		//void ok();
		//void cancel();
		//void updateFromDialog();
	signals:
		void settingsChanged();
public:
	bool effectEcho;
	bool effectChannelMix;
	bool effectEqualizer;
	bool effectReverse;
	EffectCutType effectCut;
	int effectPitch;
	int effectTemp;

};

#endif // SETTINGSMENU_H
